//
//  APIService.swift
//  ExtremeHealth
//
//  Created by Zhongkai Li 李忠凯 on 2018/9/29.
//  Copyright © 2018 GanDongKeJi. All rights reserved.
//

enum APIService {

    // MARK: account
    case signUp(signupType: String,
        phoneNo: String,
        captcha: String,
        userName: String,
        password: String)
    case getCaptcha(token: String,
        phoneNo: String,
        scene: String)
    case logIn(loginType: String,
        phoneNo: String,
        captcha: String,
        userAccount: String,
        password: String,
        rememberMe: String)
    case logOut
    // wechat
    case wxLogin(authCode: String)

    // MARK: profile
    case fetchProfile
    case updateProfile(gender: Int,
        birthday: String,
        weight: String,
        height: String,
        avatarUrl: String,
        description: String,
        targetCalory: Int)

    // MARK: sleep
    case fetchMusic(category: String)
}
